package com.hpwclass.constant;

public class Constants {
    // 统一的token前缀
    public static final String TOKEN_PREFIX = "token:";
    // 权限请求头
    public static final String HEAD_AUTHORIZATION = "Authorization";
    // token的过期时间
    public static final Long TOKEN_TIME = 30*60L;
    // 角色前缀
    public static final String ROLE_PREFIX = "roles:";
    // 权限的前缀
    public static final String PERM_PREFIX = "perm:";

}
